<h2>Generar Movimientos Predefinidos</h2>
<% if @procesado -%>
  <%= "#{@procesado} Registros generados" %>
<% else -%>
  <% form_tag(:action => "predefinidos") do |f| -%>
    <%= print "A&ntilde;o", select_year(Date.today,:start_year => Time.now.year-1, :end_year => Time.now.year+1 )%>
    <%= print "Mes", select_month(Date.today) %>
    <%= print "Borrar movimientos predefinidos anteriores", check_box_tag(:borrar,false) %>
    <%= submit_tag "Generar" %> 
  <% end -%>
<% end -%>
